package mediator.example;

/**
 * @Author：LJ
 * @Description：
 * @Date: 2017/11/28
 * @Modified By:
 */
public class Purchase extends AbstarctColleague {
    public Purchase(AbstarctMediator abstarctMediator) {
        super(abstarctMediator);
    }

    public void buyIBMComputer(int number) {
        abstarctMediator.execute("purchase.buy",number);
    }

    public void refuseBuyIBM() {
        System.out.println("refuseBuyIBM");
    }
}
